/** 
 * Project Name:kaka 
 * File Name:BusinessCardHolder.java 
 * Package Name:com.luoran.kaka.entity 
 * Date:2018年12月7日下午3:56:55 
 * Copyright (c) 2018, Luoran, Inc. All Rights Reserved.
 * 
 */  
package com.luoran.kaka.entity;

import java.io.Serializable;
import java.util.Date;

import org.beetl.sql.core.annotatoin.AssignID;

/** 
 * @author ghl 
 * @since JDK 1.8
 * ClassName: BusinessCardHolder
 * date: 2018年12月7日 下午3:56:55

 * 名片夹,用于保存收藏的他人的名片(个人/企业)
 */
public class BusinessCardHolder extends BaseInfo implements Serializable {

	private static final long serialVersionUID = 1L;

	public BusinessCardHolder() {
	}

	/**
	 * 
	 */
	@AssignID("uuid")
	public String getId() {
		return getString("id");
	}

	public void setId(String id) {
		set("id", id);
	}

	/**
	 * 微信唯一标示openId
	 */
	public String getWxOpenId() {
		return getString("wxOpenId");
	}

	public void setWxOpenId(String wxOpenId) {
		set("wxOpenId", wxOpenId);
	}

	/**
	 * 个人/企业名片ID
	 */
	public String getCardId() {
		return getString("cardId");
	}

	public void setCardId(String cardId) {
		set("cardId", cardId);
	}

	/**
	 * 名片类型1:个人名片;2:企业名片
	 */
	public Integer getCardType() {
		return getInteger("cardType");
	}

	public void setCardType(Integer cardType) {
		set("cardType", cardType);
	}

	/**
	 * 来源方式1:搜索添加;2:分享添加
	 */
	public Integer getSourceMode() {
		return getInteger("sourceMode");
	}

	public void setSourceMode(Integer sourceMode) {
		set("sourceMode", sourceMode);
	}

	/**
	 * 创建时间
	 */
	public Date getCreatetime() {
		return getDate("createtime");
	}

	public void setCreatetime(Date createtime) {
		set("createtime", createtime);
	}

	/**
	 * 修改时间
	 */
	public Date getLastupdatetime() {
		return getDate("lastupdatetime");
	}

	public void setLastupdatetime(Date lastupdatetime) {
		set("lastupdatetime", lastupdatetime);
	}

}